package edu.njfu.sas.servlet;

import javax.servlet.*;
import java.io.IOException;

/**
 * @Classname ServletDemo
 * @Description TODO
 * @Date 2020/11/10 11:13 上午
 * @Created by lqj(1724226325@qq.com)
 */
public class ServletDemo implements Servlet {
    @Override
    public void init(ServletConfig servletConfig) throws ServletException {
        System.out.println("servlet init ......");
    }

    @Override
    public ServletConfig getServletConfig() {
        return null;
    }

    @Override
    public void service(ServletRequest servletRequest, ServletResponse servletResponse) throws ServletException, IOException {
        System.out.println("servet service......");
    }

    @Override
    public String getServletInfo() {
        return null;
    }

    @Override
    public void destroy() {
        System.out.println("Servlet destory......");
    }
}
